package com.mes.cloud.constant;

/**
 * @Description 树结构常量
 * @author: wxm
 * @date: 2019/7/31 8:38
 * @version: 1.0
 */
public class TreeConstants {

    /**
     * tree顶级节点 parentId值
     */
    public static final  String TOP_NODE_PARENTID_ZERO = "0";

    /**
     * tree顶级节点 level值
     */
    public static final  int TOP_NODE_LEVEL_ONE = 1;

    /**
     * tree结构 level步长
     */
    public static final  int NODE_LEVEL_STEP_ONE = 1;

    /**
     * tree结构 是叶子节点
     */
    public static final  int NODE_LEAF_FLAG_YES = 1;

    /**
     * tree结构 不是叶子节点
     */
    public static final  int NODE_LEAF_FLAG_NO = 0;
}
